package com.castle.fortress.admin.cms.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * cms内容标签管理表 实体类
 *
 * @author castle
 * @since 2022-03-18
 */
@Data
@ApiModel(value = "cmsArticleTags对象", description = "cms内容标签管理表")
public class CmsArticleTagsDto implements Serializable {
	private static final long serialVersionUID = 1L;
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "主键")
	@JsonProperty("id")
	private Long id;
	@ApiModelProperty(value = "内容id")
	@JsonProperty("articleId")
	private Long articleId;
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "标签id")
	@JsonProperty("tagId")
	private Long tagId;
	@ApiModelProperty(value = "标签类型 00 系统 01 自定义")
	@JsonProperty("tagType")
	private String tagType;

}
